package com.wootion.cims.module.communityservice.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: LanQiang
 * @Date: 2022/12/29/10:29
 * @Description: 作用xxx
 */
@Data
@ApiModel(value = "低保户信息")
public class SubsistenceMsgDto implements Serializable {
    private static final long serialVersionUID = 474681926276361091L;

    /**
     * 领取证号
     */
    @ApiModelProperty(value = "领取证号")
    private String certificateNo;
    
    /**
     * 金额
     */
    @ApiModelProperty(value = "金额")
    private String amount;

    /**
     * 低保类型
     */
    @ApiModelProperty(value = "低保类型")
    private String type;
    /**
     * 审批时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "审批时间")
    private Date approvalTime;
    /**
     * 生活状态
     */
    @ApiModelProperty(value = "生活状态")
    private String livingState;
    /**
     * 致贫原因
     */
    @ApiModelProperty(value = "致贫原因")
    private String causesOfPoverty;

    /**
     * 其他备注
     */
    @ApiModelProperty(value = "其他备注")
    private String remark;
    /**
     * 完整度
     */
    @ApiModelProperty(value = "完整度")
    private String integrity;
    /**
     * 是否启用
     */
    @ApiModelProperty(value = "是否启用")
    private Boolean enable;
}
